package com.zhouyu;

import com.spring.ZhouYuApplicationContext;
import com.zhouyu.service.UserService;

/**
 * @Description todo
 * @Author yubao
 * @Date 2021/11/14 12:01
 **/
public class Test {

    public static void main(String[] args) {
        ZhouYuApplicationContext applicationContext = new ZhouYuApplicationContext(AppConfig.class);
        UserService userService = (UserService) applicationContext.getBean("userService");
        userService.test();
    }
}
